package com.example.iotlink.service.impl;

import com.example.iotlink.bean.Receipt;
import com.example.iotlink.service.ITopicHandleStrategy;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
@Slf4j
@Service
public class RealDataReceiptHandleStrategy implements ITopicHandleStrategy {


    @Override
    public void handelReceiveTopic(Receipt receipt) {
//        System.err.println("解析 实时数据上报");
        log.info("实时数据上报:{}",receipt);

    }
}
